package com.acme.domain.bank;

import com.acme.domain.bank.Gender;
import java.io.Serializable;
import com.acme.domain.account.Account;

public class Client implements Serializable {

	private static final long serialVersionUID = 1L;
	private Account account;
	private String name;
	private Gender gender;

	public Client(String name, Gender gender) {
		super();
		this.gender = gender;
		this.name = name;
	}

	public void addAccount(Account account) {
		this.account = account;
	}

	@Override
	public String toString() {
		return "Client [account=" + account + ", name=" + name + ", gender="
				+ gender + "]";
	}
	
	

}
